package com.dmcloud.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dmcloud.system.dto.UserInfo;
import com.dmcloud.system.entity.SysUser;
import com.dmcloud.system.vo.UserVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaodao
 * @since 2019-10-30
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 获取用户信息
     * @param id
     * @return
     */
    UserVO getUserVoById(String id);

    UserInfo getUserInfo(SysUser user);
    /**
     * 分页查询用户信息
     */
    IPage getAllUser(Page page, SysUser user);


}
